﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TimKen.DataAccess;
namespace TimKen.Web.order
{
    public partial class MyOrderDetail : TimKen.App.WebPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (CurrentUserName == null || CurrentUserName == "")
                {
                    Alert("您必须登录！", "../Index.aspx");
                }      
                if (Request["itemid"] != null && Request["itemid"].ToString() != "")
                {
                    OrderDAO dao = new OrderDAO();
                    this.Rtp_details.DataSource= dao.getMyOrderDetail(Request["itemid"].ToString(), LanguageID.ToString());
                    this.Rtp_details.DataBind();
                }
            }
        }
    }
}